Skip to main content
EventEmitter.[EventEmitter.captureRejectionSymbol] - node__events.d.ts - Node documentation
method EventEmitter.[EventEmitter.captureRejectionSymbol]

Usage in Deno

```typescript import { type EventEmitter } from "node:node__events.d.ts"; ```
EventEmitter.[EventEmitter.captureRejectionSymbol]<K>(
error: Error,
event: Key<K, T>,
...args: Args<K, T>,
): void

Type Parameters

K

Parameters

error: Error
event: Key<K, T>
...args: Args<K, T>

Return Type

void